home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 2094 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  657 b 

  1. Path: saturn.ball.com!usenet
  2. From: jsaler@ball.com (Jeff Saler)
  3. Newsgroups: comp.lang.c++
  4. Subject: ostrstreams
  5. Date: 15 Jan 1996 18:30:27 GMT
  6. Organization: Ball Systems Engineering Operations
  7. Message-ID: <4de6g3$e6u@saturn.ball.com>
  8. Reply-To: jsaler@ball.com
  9. NNTP-Posting-Host: pokin.ball.com
  10. X-Newsreader: WinVN 0.92.6+
  11.  
  12. I am using a function which requires an ostream reference as one of its parameters.
  13. After each call, I extract a string using the str() function.  I would like to
  14. have the next string that the function inserts into the ostream to overwrite 
  15. the previous one instead of being appended.  I tried calling flush(), but this had
  16. no effect.
  17.